package com.example.rbacmanage.mapper;

import com.example.rbacmanage.base.BaseMapper;
import com.example.rbacmanage.entity.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {
    void deleteByRoleId(@Param("roleId") Long roleId);

    void deleteByUserId(@Param("userId") Long id);
}
